<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>骰子</title>
    <style>
        body{
            width: 100%;
            height: 100%;
        }
        .box{
            width: 200px;
            height: 200px;
            background: #fff;
            border-radius: 10px;
            border: 1px solid #777;
            position: fixed;
            top: 30%;
            left: 50%;
            transform: translate(-50%,-50%);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-sizing: border-box;
            padding: 20px;
        }
        .box div{
            width: 40px;
            height: 40px;
            background: red;
            border-radius: 50%;
        }
        .two{
            /* margin: 0 auto; */
            align-self: center;
        }
        .three{
            /* margin-left: 76%; */
            align-self: flex-end;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="one"></div>
        <div class="two"></div>
        <div class="three"></div>
    </div>
</body>
</html>